/**
 * 
 */
package com.huaqin.expression;


//import java.util.ArrayList;

/**
 * 常量数据描述
 */
public class Constant extends BaseDataMeta {
	
	public Constant(DataType dataType , Object value){
		super(dataType , value);
		
		if(dataType == null){
			throw new IllegalArgumentException("非法参数：数据类型为空");
		}
		
	}
	
	
	public Constant(Reference ref){
		super(null , ref);
		this.setReference(true);
	}
}
